package com.example.day02.ex02;

/**
 * @author 17976
 */
public class OperatorTest02 {
    public static void main(String[] args) {
        int height1 = 150;
        int height2 = 210;
        int height3 = 165;

        int tempHeight =height1>height2 ? height1:height2;
        int maxHeight = tempHeight>height3 ? tempHeight:height3;

        System.out.println("maxHeight:"+maxHeight);
    }
}
